package com.zpark.controller;

import com.zpark.pojo.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @PackageName: com.zpark.controller
 * @ClassName: UserServiceController
 * @Description:
 * @author: RZS
 * @date: 2024/4/16  14:43
 */
@RestController
@RequestMapping("/user-service")
public class UserServiceController {

    @GetMapping("/get")
    public User get(){
        User user = new User();
        user.setUname("大锤");
        user.setPwd("666666");

        return user;
    }
}
